package com.ryskoo.common.dto.cms;

import com.ryskoo.common.constant.CmsParamConstant;
import com.ryskoo.common.dto.BasicDTO;

/**
 * @author renyuting
 * @data 2018-05-03
 */
public class NoticeDTO extends BasicDTO {

    private static final long serialVersionUID = 1893615787890946509L;

    /**
     * 公告标题
     */
    private String noticeTitle;

    /**
     * 公告类型Uuid
     */
    private String noticeTypeUuid;

    /**
     * 上下架状态，0下架，1上架
     */
    private String state;

    /**
     * 接收公告客户，0全部客户，1部分客户
     */
    private String noticeCustomer;

    /**
     * 公告内容
     */
    private String noticeNote;

    /**
     * 公告图片
     */
    private String noticeImage;

    /**
     * 排序值
     */
    private String sortValue;
    
    /** 所属商户的uuid */
    private String vendorUuid;
    
    /** 所属平台 0平台 1商户 */
    private int plat ;

    /**
     * 上下架状态 ---- 中文显示
     */
    private String stateName;
    /**
     * 接收公告客户 ---- 中文显示
     */
    private String noticeCustomerName;

    /**
     * 公告类型 ---- 中文名称
     */
    private String noticeTypeName;

    
    
    
    public int getPlat() {
		return plat;
	}

	public void setPlat(int plat) {
		this.plat = plat;
	}

	public String getVendorUuid() {
		return vendorUuid;
	}

	public void setVendorUuid(String vendorUuid) {
		this.vendorUuid = vendorUuid;
	}

	public String getNoticeTypeName() {
        return noticeTypeName;
    }

    public void setNoticeTypeName(String noticeTypeName) {
        this.noticeTypeName = noticeTypeName;
    }

    public String getStateName() {
        return CmsParamConstant.getNoticeStateNameByKey(this.state);
    }

    public void setStateName(String stateName) {
        this.stateName = stateName;
    }

    public String getNoticeCustomerName() {
        return CmsParamConstant.getNoticeCustomerNameByKey(this.noticeCustomer);
    }

    public void setNoticeCustomerName(String noticeCustomerName) {
        this.noticeCustomerName = noticeCustomerName;
    }

    public String getNoticeTitle() {
        return noticeTitle;
    }

    public void setNoticeTitle(String noticeTitle) {
        this.noticeTitle = noticeTitle;
    }

    public String getNoticeTypeUuid() {
        return noticeTypeUuid;
    }

    public void setNoticeTypeUuid(String noticeTypeUuid) {
        this.noticeTypeUuid = noticeTypeUuid;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getNoticeCustomer() {
        return noticeCustomer;
    }

    public void setNoticeCustomer(String noticeCustomer) {
        this.noticeCustomer = noticeCustomer;
    }

    public String getNoticeNote() {
        return noticeNote;
    }

    public void setNoticeNote(String noticeNote) {
        this.noticeNote = noticeNote;
    }

    public String getNoticeImage() {
        return noticeImage;
    }

    public void setNoticeImage(String noticeImage) {
        this.noticeImage = noticeImage;
    }

    public String getSortValue() {
        return sortValue;
    }

    public void setSortValue(String sortValue) {
        this.sortValue = sortValue;
    }
}
